<!--#include("header.html")-->
<!--%import("filter/insert_config.xml")-->
<!--%import("../../widget/tpl/js/widget_admin.js")-->

<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
    <input type="hidden" name="target_module_srl" id="target_module_srl" value="{$config->target_module_srl}" />
    <table cellspacing="0" class="rowTable">
    <tr class="row2">
        <th scope="row"><div>{$lang->sample_code}</div></th>
        <td class="wide">
            <textarea class="inputTypeTextArea fullWidth" readonly="readonly">{$sample_code}</textarea>
            <p>{$lang->about_sample_code}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->skin}</div></th>
        <td>
            <select name="skin">
                <!--@foreach($skin_list as $key=>$val)-->
                <option value="{$key}" <!--@if($config->skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_skin}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->target}</div></th>
        <td>
            <select name="target">
                <option value="include">{$lang->include_search_target}</option>
                <option value="exclude" <!--@if($config->target=='exclude')-->selected="selected"<!--@end-->>{$lang->exclude_search_target}</option>
            </select>

            <select name="_target_module_srl" id="_target_module_srl" size="8" class="w200" style="display:block;margin:10px 0;"></select>

            <a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module_srl')}" onclick="popopen(this.href, 'ModuleSelect');return false;" class="button blue"><span>{$lang->cmd_insert}</span></a>
            <a href="#" onclick="midRemove('target_module_srl');return false;" class="button red"><span>{$lang->cmd_delete}</span></a>

            <script type="text/javascript">
                jQuery( function() { getModuleSrlList('target_module_srl'); } );
            </script>
        </td>
    </tr>
    <tr class="row2">
        <th class="button" colspan="3">
            <span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
        </th>
    </tr>
    </table>
</form>
